﻿using System;
using UnityEngine;

// Token: 0x02000190 RID: 400
public class BackHairData : HairData
{
	// Token: 0x06000AA2 RID: 2722 RVA: 0x0003D914 File Offset: 0x0003BB14
	public BackHairData(int id, string name, string assetbundle, string prefab, int order, bool isNew, string typeStr, bool isSet) : base(id, name, assetbundle, prefab, order, isNew)
	{
		this.type = BackHairData.CheckTypeName(typeStr);
		this.isSet = isSet;
	}

	// Token: 0x06000AA3 RID: 2723 RVA: 0x0003D93C File Offset: 0x0003BB3C
	public static BackHairData.HAIR_TYPE CheckTypeName(string check)
	{
		string[] array = new string[]
		{
			"ショート",
			"セミロング",
			"ロング",
			"ポニー",
			"ツインテール",
			"その他"
		};
		for (int i = 0; i < array.Length; i++)
		{
			if (array[i] == check)
			{
				return (BackHairData.HAIR_TYPE)i;
			}
		}
		GlobalData.Debug_LogWarning("不明类型:" + check);
		return BackHairData.HAIR_TYPE.OTHER;
	}

	// Token: 0x04000A99 RID: 2713
	public BackHairData.HAIR_TYPE type;

	// Token: 0x04000A9A RID: 2714
	public bool isSet;

	// Token: 0x02000191 RID: 401
	public enum HAIR_TYPE
	{
		// Token: 0x04000A9C RID: 2716
		SHORT,
		// Token: 0x04000A9D RID: 2717
		SEMI_LONG,
		// Token: 0x04000A9E RID: 2718
		LONG,
		// Token: 0x04000A9F RID: 2719
		PONY,
		// Token: 0x04000AA0 RID: 2720
		TWIN,
		// Token: 0x04000AA1 RID: 2721
		OTHER
	}
}
